package com.dcits.electronic_account.service.impl;

import com.dcits.electronic_account.mapper.VirtualBanlanceMapper;
import com.dcits.electronic_account.service.VirtualBanlanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @Author: 周智鑫
 * @Date： 2022/6/26
 */
@Service
public class VirtualBanlanceServiceImpl implements VirtualBanlanceService {
    @Autowired
    private VirtualBanlanceMapper banlanceMapper;

    @Override
    public BigDecimal selcetVirtualBanlance(int id) {
        return banlanceMapper.virtualAccountBalance(id);
    }
}
